home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
initcd
< prev
next >
Wrap
Text File
|
1996-11-21
|
2KB
|
80 lines
; CUCD Init Script
;
; Set up assigns etc. both for users booting from the CD and from HD
;
; Version 1.1 - Changed jpegtmp
;
; Version 1.2 - Added uninit option
;
if $CDInit EQ TRUE
set remass `RequestChoice "InitCD" "You have already run InitCD once.*NDo you wish to remove the assigns and paths added before?" "Remove|Cancel"`
If $remass EQ 1
execute UnInitCD
EndIf
Quit
EndIf
Assign CUCD: :
; Set these assigns and paths only if not booting from CD
IF $CDBoot NOT EQ TRUE
SetEnv CDInit TRUE
echo "*NMaking assigns necessary for CD software"
echo "*NPlease wait... " NOLINE
Assign Fonts: CUCD:Fonts ADD
Assign ENV: CUCD:prefs/env-archive ADD
Assign Libs: CUCD:Libs ADD
Assign S: CUCD:S ADD
Path CUCD:C CUCD:System CUCD:Utilities CUCD:S CUCD:Rexxc ADD
EndIF
; Set some system assigns
Assign CLASSES: CUCD:Classes ADD
Assign tcpdldir: CUCD:WWW
Assign HTTPJ: tcpdldir:http
Assign VMEM: T: ; For SuperView
Assign GM: CUCD:System/GMPlay
;BEGIN JPEG Codec
Assign JPEGTMP: EXISTS >NIL:
IF WARN
Assign JPEGTMP: "T:"
EndIf
;END JPEG Codec
; Add paths
Path GM: ADD
; Set path to Delitracker Config.
SetENV DeliConfig "CUCD:System/DeliTracker/DeliConfig"
; Add MUI if no MUI installed.
Assign MUI: EXISTS >NIL:
IF WARN
Assign MUI: CUCD:System/MUI
Assign Libs: MUI:Libs ADD
Assign LOCALE: MUI:Locale ADD
EndIf
;BEGIN NewIcons
Status >NIL: com=C:NewIcons
If WARN
Run <NIL: >NIL: CUCD:C/NewIcons
CUCD:C/DefIcons
EndIf
;END NewIcons
;BEGIN ClassAct
CUCD:C/CAPrefs >NIL:
;END ClassAct
; Set assigns and paths for programs on this CD
:C/MakeAssigns
IF $CDBoot NOT EQ TRUE
LoadWB NEWPATH
echo "All done"
EndIf